public class SimpleBubbleSort<T extends Comparable<? super T>> implements Sorter<T>{

	public SimpleBubbleSort(){
		
	}
	
	public void sort(T[] array) {
		for(int i=0;i<array.length;i++){
			for(int j=0;j<array.length;j++){
				int eval=array[j].compareTo(array[j+1]);					
				if(eval>0){
					T aux=array[j];
					array[j]=array[j+1];
					array[j+1]=aux;
				}
			}
		}
	}
}
